package com.roncoo.eshop.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 请求的响应
 *
 * @author john
 * @date 2020/11/3 - 18:41
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Response implements Serializable {
    public static final String SUCCESS = "success";
    public static final String FAILURE = "failure";

    private String status;
    private String message;

    public Response(String status) {
        this.status = status;
    }

}
